﻿<Window x:Class="Notoric.Gui.Windows.EditPersonDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Edit Person" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Height="134" Width="400"
        Background="#FFF0F0F0">
    <StackPanel Orientation="Vertical">
        <Grid Margin="7" Background="White">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
        
            <Label Content="First Name(s):" Grid.Column="0" Grid.Row="0"/>
            <TextBox x:Name="PART_FirstName" Grid.Column="1" Grid.Row="0" Margin="0 2 2 0" Text="{Binding FirstName, Mode=TwoWay}"/>
        
            <Label Content="Last Name:" Grid.Column="2" Grid.Row="0"/>
            <TextBox Grid.Column="3" Grid.Row="0" Margin="0 2 2 0" Text="{Binding LastName, Mode=TwoWay}"/>
        
            <Label Content="Birth Date:" Grid.Column="0" Grid.Row="1"/>
            <TextBox Grid.Column="1" Grid.Row="1" Margin="0 2 2 0" Text="{Binding BirthDate, Mode=TwoWay}"/>
        
            <Label Content="Death Date:" Grid.Column="2" Grid.Row="1"/>
            <TextBox Grid.Column="3" Grid.Row="1" Margin="0 2 2 0" Text="{Binding DeathDate, Mode=TwoWay}"/>
        </Grid>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0 4 7 0">
            <Button x:Name="PART_OK" Width="60" Content="OK" IsDefault="True" Click="PART_OK_Click"/>
            <Button x:Name="PART_Cancel" Width="60" Content="Cancel" Margin="6 0 0 0" IsCancel="True" Click="PART_Cancel_Click"/>
        </StackPanel>
    </StackPanel>
</Window>
